widget: Prepend style classes to list when parsing
authorTimm Bäder <mail@baedert.org>
Tue, 21 Mar 2017 13:40:21 +0000 (14:40 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 21 Mar 2017 18:04:58 +0000 (19:04 +0100)
commit1aa37687be0cbf841eedda7aff7223f9ece4ab2f
tree85fa71d0aef69abc8cdf995348012cdbb6c14e71
parent03336028099e036d6ed5a241540b20043a12aa2c
widget: Prepend style classes to list when parsing

Since the later gtk_style_context_add_class doesn't care about the order
of the style classes, we can as well just prepend style classes to the
list and avoid the squared behavior when appending to a linked list.
gtk/gtkwidget.c